package com.zhl.javabean;

public class StudentOperator {
    private Student student;
    public StudentOperator(Student student) {
        this.student = student;
    }
    public void printPass(){
        if (student.getScore() >= 60) {
            System.out.println("学生成绩通过");
        } else {
            System.out.println("学生成绩未通过");
        }
    }

}
